
/*监测区域个数由大到小进行排序*/
export const getMaxJson = (arr) => {
    let max;
    for (let i = 0; i < arr.length; i++) {
        for (let j = i; j < arr.length; j++) {
            if (arr[i][0].length < arr[j][0].length) {
                max = arr[j];
                arr[j] = arr[i];
                arr[i] = max;
            }
        }
    }
    return arr;
}